package org.swimv2.util;

import java.io.Serializable;

public class FormRegistrazione implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3158780431920322523L;
	private String nome;
	private String cognome;
	private String username;
	private String email;
	private String password;
	private String regione;
	private String sede;
	private byte[] foto;
	private String ab[];
	private String abSupp[];
	
	public FormRegistrazione(String nome,String cognome,String username,
			String email,String password,String regione,String sede,String ab[],String abSupp[],byte[] foto)
	{
		this.nome=nome;
		this.cognome=cognome;
		this.username=username;
		this.email=email;
		this.password=password;
		if(regione!=null)
		{
			this.regione=regione;
		}
		else{
			this.regione=null;
		}
		this.sede=sede;
		if(ab!=null)
		{
			this.ab=ab.clone();
		}else
		{
			this.ab=null;
		}
		if(abSupp!=null)
		{
			this.abSupp=abSupp.clone();
		}else
		{
			this.abSupp=null;
		}
		if(foto!=null)
		{
			this.foto=foto;
		}else
		{
			this.foto=null;
		}
	}
	public String getNome(){
		return nome;
	}
	public String getCognome(){
		return cognome;
	}
	public String getUsername(){
		return username;
	}
	public String getEmail(){
		return email;
	}
	public String getPassword(){
		return password;
	}
	public String getRegione(){
		return regione;
	}
	public String getSede(){
		return sede;
	}
	public byte[] getFoto(){
		return foto;
	}
	public String[] getAb(){
		return ab;
	}
	public String[] getAbSupp(){
		return abSupp;
	}
	
}
	
